import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.FileInputStream;
import java.io.FileOutputStream;

public class Ejercicio6 {

	public static void main(String[] args) {
		copiar();

	}

	private static void copiar() {
		try {
			FileInputStream fis = new FileInputStream("");
			BufferedInputStream bis = new BufferedInputStream(fis);
			FileOutputStream fos = new FileOutputStream("");
			BufferedOutputStream bos = new BufferedOutputStream(fos);
			byte[] array = new byte[1000];
			int leidos = bis.read(array);
			while (leidos > 0) {
				bos.write(array, 0, leidos);
				leidos = bis.read(array);
			}
			bis.close();
			bos.close();
		} catch (Exception e) {
		}

	}

}